package com.yupi.oj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yupi.oj.model.entity.Tag;
import com.yupi.oj.model.vo.QuestionCompleteWithTagNum;

import java.util.List;
import java.util.Set;

/**
* @author 兰飞宇
* @description 针对表【tag(标签表)】的数据库操作Mapper
* @createDate 2025-05-24 11:41:46
* @Entity com.yupi.oj.mapper.entity.Tag
*/
public interface TagMapper extends BaseMapper<Tag> {

    List<QuestionCompleteWithTagNum> selectQuestionCompleteWithTagNum(Set<Long> questionIds);

    List<String> getTagList(long questionId);
}




